module.exports = {
    devServer: {
        proxy: {
            '/api': {
                // 跨域目标
                target: 'http://adminv2.happymmall.com/manage/',
                // 开启跨域
                cahngeOrigin: true,
                pathRewrite: {
                    "^/api": ''
                }

            }
        }
    }
}